package com.sbwebsocket.core.redis.model.contants;

/**
 * redis消息key前缀
 * @Auther: GSJ
 * @Date: 2022/2/10
 * @Description:
 * @version: 1.0
 */
public class WsMessageRedisKeyPrefix {
    //通过客户端找服务端信息(client mapping server)
    public static final String CLIENT_SERVER="CS:";
    //direct服务端消息列表(server direct message)
    public static final String SERVER_MSG_DIRECT ="SD:M:";
    public static final String SERVER_MSG_FANOUT ="SF:M";
    
    //topic事件列队key
    public static final String SERVER_MSG_TOPIC_QUEUE ="ST:M";
    public static final String SERVER_MSG_TOPIC=SERVER_MSG_TOPIC_QUEUE+":";

    //异常消息列表
    public static final String UNUSUAL_MSG_LIST="UNUSUAL:MSGS";

    //离线消息
    public static final String OFFLINE_MSG="OFL:";

}
